﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Globalization;

namespace WebsiteAdmin.Salomon.LinkInfo
{
    public partial class LinkList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                DataTable dtLink = Bll.Link.MULTIPLE(Global.ConSalomon);

                if (dtLink.Rows.Count > 0)
                {
                    RP_Link.DataSource = dtLink.DefaultView;
                    RP_Link.DataBind();
                }

                dtLink.Dispose();
            }
            else
            {
                Response.Redirect("/Trace.aspx?Err=1");
            }
        }

        protected void RP_Link_ItemDataBound(object sender, RepeaterItemEventArgs e)
        {
            if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
            {
                
            }
        }
    }
}
